
//show and hide
function showAndHide(hideId,showId){
	document.getElementById(hideId).style.display="none";
	document.getElementById(showId).style.display="block";

}


//set class on selected header
function selectedHeader(setClassId){
	jQuery('li.jewelHead').removeClass('selectedHeader');
	jQuery("#"+setClassId).addClass('selectedHeader');
}

//confirmation function
function confirmation(){
	var isConfirm=confirm("Are You Sure to delete?");
	return isConfirm;
}

function msgDisplay(msg){
	if(msg!=null && msg!=""){
		alert(msg);
	}
}

function digitsOnly(obj){
	obj.value=obj.value.replace(/[^\d]/g,'');
}


function ShowModalPopup(id){
	jQuery('.fk-ui-dialog').show();
	jQuery('.hideclass').hide();	
	jQuery('#'+id).show();
	
}

function HideModalPopup(id){
	jQuery('.fk-ui-dialog').hide();
}

function showAndHide(id){
	jQuery('.hideclass').hide();
	jQuery('#'+id).show();
}

function slideToggle(id){
	jQuery('#'+id).slideToggle();
}


function login-validation(){
	
}
